/**
 * JAVACC DEMO 1.0
 */
package com.apache.passport.jwt;

/**
 * description:
 *
 * @author Hou Dayu 创建时间：2017-8-14
 */
public class ResponseEntity<T> {

    private int state;

    private T payload;

    public ResponseEntity() {
    }

    public ResponseEntity(T payload, int state) {
        this.payload = payload;
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public T getPayload() {
        return payload;
    }

    public void setPayload(T payload) {
        this.payload = payload;
    }
}
